package com.ebeitech.auction.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by alice on 2017/11/14.
 */
public class AuctionBid implements Serializable {

	/**
	 * 阶段Id
	 */
	private String phaseId;

	/**
	 * 阶段名
	 */
	private String phaseName;

	/**
	 * 竞拍人Code
	 */
	private String auctionBidderCode;

	/**
	 * 竞拍人名(存在的话)
	 */
	private String bidderName;

	/**
	 * 举牌时间
	 */
	private String bidTime;

	/**
	 * 举牌次数(非文字，只有数字)
	 */
	private String bidTimes;

	/**
	 * 当前报价
	 */
	private String price;

	/**
	 * 当前报价比例
	 */
	private String priceRate;

	/**
	 * 之前阶段的历史
	 */
	private List<AuctionPhase> bidHistories;

	public String getPhaseId() {
		return phaseId;
	}

	public void setPhaseId(String phaseId) {
		this.phaseId = phaseId;
	}

	public String getPhaseName() {
		return phaseName;
	}

	public void setPhaseName(String phaseName) {
		this.phaseName = phaseName;
	}

	public String getAuctionBidderCode() {
		return auctionBidderCode;
	}

	public void setAuctionBidderCode(String auctionBidderCode) {
		this.auctionBidderCode = auctionBidderCode;
	}

	public String getBidderName() {
		return bidderName;
	}

	public void setBidderName(String bidderName) {
		this.bidderName = bidderName;
	}

	public String getBidTime() {
		return bidTime;
	}

	public void setBidTime(String bidTime) {
		this.bidTime = bidTime;
	}

	public String getBidTimes() {
		return bidTimes;
	}

	public void setBidTimes(String bidTimes) {
		this.bidTimes = bidTimes;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPriceRate() {
		return priceRate;
	}

	public void setPriceRate(String priceRate) {
		this.priceRate = priceRate;
	}

	public List<AuctionPhase> getBidHistories() {
		if (bidHistories == null) {
			bidHistories = new ArrayList<AuctionPhase>();
		}
		return bidHistories;
	}

	public void setBidHistories(List<AuctionPhase> bidHistories) {
		this.bidHistories = bidHistories;
	}
}
